package com.mde.test;

public class Counter {

	private static int count = 0;
	private static boolean inced = false;
	
	public static void setRandomCount() {
		count = (int)(Math.random() * 100);
		inced = true;
	}
	
	public static int getCount() {
		
		return count;
	}
	
	public static boolean isInced() {
		return inced;
	}
	
	public static void restoreInced() {
		inced = false;
	}
		
}

